/**
 * Created by XiongXiang on 2017/9/15.
 */
var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true');

hotClient.subscribe(function(event){
    if(event.action === 'reload'){
        window.location.reload()
    }
});